public class 构造器复用 {
    public static void main(String[] args) {

    }
}
class G {
    private String name;
    private int age;
    private String schoolName;

    public G() {
    }
    //类中的构造器本身就能调用如同super()
    public G(String name, int age) {
        this(name, age, "tian");
    }
    public G(String name, int age, String schoolName) {
        this.name = name;
        this.age = age;
        this.schoolName = schoolName;
    }
}